#ifndef _CHAR_DRIVER_H
#define _CHAR_DRIVER_H

#include <linux/ioctl.h>

#define CDEV_MAGIC 'M'

#define GET_BUF_LEN _IOR(CDEV_MAGIC,0,int)
#define GET_CUR_LEN _IOR(CDEV_MAGIC,1,int)
#define CLEAR_BUF _IO(CDEV_MAGIC,2)

#endif